Optimal. Leaf size=53 \[ -\frac {8}{15} a^2 \cot (x) \sqrt {a \sin ^2(x)}-\frac {4}{15} a \cot (x) \left (a \sin ^2(x)\right )^{3/2}-\frac {1}{5} \cot (x) \left (a \sin ^2(x)\right )^{5/2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {3282, 3286,
2718} \begin {gather*} -\frac {8}{15} a^2 \cot (x) \sqrt {a \sin ^2(x)}-\frac {1}{5} \cot (x) \left (a \sin ^2(x)\right )^{5/2}-\frac {4}{15} a \cot (x) \left (a \sin ^2(x)\right )^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2718
Rule 3282
Rule 3286
Rubi steps
\begin {align*} \int \left (a \sin ^2(x)\right )^{5/2} \, dx &=-\frac {1}{5} \cot (x) \left (a \sin ^2(x)\right )^{5/2}+\frac {1}{5} (4 a) \int \left (a \sin ^2(x)\right )^{3/2} \, dx\\ &=-\frac {4}{15} a \cot (x) \left (a \sin ^2(x)\right )^{3/2}-\frac {1}{5} \cot (x) \left (a \sin ^2(x)\right )^{5/2}+\frac {1}{15} \left (8 a^2\right ) \int \sqrt {a \sin ^2(x)} \, dx\\ &=-\frac {4}{15} a \cot (x) \left (a \sin ^2(x)\right )^{3/2}-\frac {1}{5} \cot (x) \left (a \sin ^2(x)\right )^{5/2}+\frac {1}{15} \left (8 a^2 \csc (x) \sqrt {a \sin ^2(x)}\right ) \int \sin (x) \, dx\\ &=-\frac {8}{15} a^2 \cot (x) \sqrt {a \sin ^2(x)}-\frac {4}{15} a \cot (x) \left (a \sin ^2(x)\right )^{3/2}-\frac {1}{5} \cot (x) \left (a \sin ^2(x)\right )^{5/2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 36, normalized size = 0.68 \begin {gather*} -\frac {1}{240} a^2 (150 \cos (x)-25 \cos (3 x)+3 \cos (5 x)) \csc (x) \sqrt {a \sin ^2(x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 3.80, size = 32, normalized size = 0.60
method | result | size |
default | \(-\frac {a^{3} \sin \left (x \right ) \cos \left (x \right ) \left (3 \left (\sin ^{4}\left (x \right )\right )+4 \left (\sin ^{2}\left (x \right )\right )+8\right )}{15 \sqrt {a \left (\sin ^{2}\left (x \right )\right )}}\) | \(32\) |
risch | \(-\frac {i a^{2} {\mathrm e}^{6 i x} \sqrt {-a \left ({\mathrm e}^{2 i x}-1\right )^{2} {\mathrm e}^{-2 i x}}}{160 \left ({\mathrm e}^{2 i x}-1\right )}-\frac {5 i a^{2} {\mathrm e}^{2 i x} \sqrt {-a \left ({\mathrm e}^{2 i x}-1\right )^{2} {\mathrm e}^{-2 i x}}}{16 \left ({\mathrm e}^{2 i x}-1\right )}-\frac {5 i \sqrt {-a \left ({\mathrm e}^{2 i x}-1\right )^{2} {\mathrm e}^{-2 i x}}\, a^{2}}{16 \left ({\mathrm e}^{2 i x}-1\right )}+\frac {5 i a^{2} {\mathrm e}^{-2 i x} \sqrt {-a \left ({\mathrm e}^{2 i x}-1\right )^{2} {\mathrm e}^{-2 i x}}}{96 \left ({\mathrm e}^{2 i x}-1\right )}+\frac {11 i \sqrt {-a \left ({\mathrm e}^{2 i x}-1\right )^{2} {\mathrm e}^{-2 i x}}\, a^{2} \cos \left (4 x \right )}{240 \left ({\mathrm e}^{2 i x}-1\right )}-\frac {7 \sqrt {-a \left ({\mathrm e}^{2 i x}-1\right )^{2} {\mathrm e}^{-2 i x}}\, a^{2} \sin \left (4 x \right )}{120 \left ({\mathrm e}^{2 i x}-1\right )}\) | \(228\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 43, normalized size = 0.81 \begin {gather*} -\frac {{\left (3 \, a^{2} \cos \left (x\right )^{5} - 10 \, a^{2} \cos \left (x\right )^{3} + 15 \, a^{2} \cos \left (x\right )\right )} \sqrt {-a \cos \left (x\right )^{2} + a}}{15 \, \sin \left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \sin ^{2}{\left (x \right )}\right )^{\frac {5}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.51, size = 45, normalized size = 0.85 \begin {gather*} \frac {1}{15} \, {\left (8 \, a^{2} \mathrm {sgn}\left (\sin \left (x\right )\right ) - {\left (3 \, a^{2} \cos \left (x\right )^{5} - 10 \, a^{2} \cos \left (x\right )^{3} + 15 \, a^{2} \cos \left (x\right )\right )} \mathrm {sgn}\left (\sin \left (x\right )\right )\right )} \sqrt {a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int {\left (a\,{\sin \left (x\right )}^2\right )}^{5/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________